package org.example.pojo;

import java.util.Date;
import java.util.List;

public class Battle {
    static class BattleUser {
        private String  name;
        private Integer kill;
        private Integer assists;
        private Integer death;
        private Integer money;
        private Boolean team;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getKill() {
            return kill;
        }

        public void setKill(Integer kill) {
            this.kill = kill;
        }

        public Integer getAssists() {
            return assists;
        }

        public void setAssists(Integer assists) {
            this.assists = assists;
        }

        public Integer getDeath() {
            return death;
        }

        public void setDeath(Integer death) {
            this.death = death;
        }

        public Integer getMoney() {
            return money;
        }

        public void setMoney(Integer money) {
            this.money = money;
        }

        public Boolean getTeam() {
            return team;
        }

        public void setTeam(Boolean team) {
            this.team = team;
        }
    }

    private String mapName;
    private Date date;
    private Boolean victory; // false=红队获胜
    private List<BattleUser> teams;

    public String getMapName() {
        return mapName;
    }

    public void setMapName(String mapName) {
        this.mapName = mapName;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Boolean getVictory() {
        return victory;
    }

    public void setVictory(Boolean victory) {
        this.victory = victory;
    }

    public List<BattleUser> getTeams() {
        return teams;
    }

    public void setTeams(List<BattleUser> teams) {
        this.teams = teams;
    }
}
